﻿<Window x:Class="ProcessMonitor.ConfigWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Config" WindowStartupLocation="CenterScreen"
        Width="400" Height="240">
    <GroupBox Header="Billing (prices)" Margin="5">
        <Grid Margin="10">
            <Grid.Resources>
                <Style TargetType="TextBlock">
                    <Setter Property="HorizontalAlignment" Value="Right" />
                    <Setter Property="Margin" Value="5" />
                </Style>
                <Style TargetType="TextBox">
                    <Setter Property="Margin" Value="5" />
                </Style>
            </Grid.Resources>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition />
            </Grid.RowDefinitions>
            <TextBlock Grid.Row="0" Text="Disk read (per bytes):" />
            <TextBlock Grid.Row="1" Text="Disk write (per bytes):" />
            <TextBlock Grid.Row="4" Text="Processing (per secs):" />
            <TextBox Grid.Column="1" Grid.Row="0" Text="{Binding Path=BytesRead}" />
            <TextBox Grid.Column="1" Grid.Row="1" Text="{Binding Path=BytesWrite}" />
            <TextBox Grid.Column="1" Grid.Row="4" Text="{Binding Path=Processing}" />
            <Button Grid.Column="1" Grid.Row="5" Content="Close" Margin="5,10" Padding="5" HorizontalAlignment="Right" Width="80" Click="CloseButton_Click" />
        </Grid>
    </GroupBox>
</Window>
